package com.muyu.user.mapper;

import com.muyu.user.domain.SysUserGroupRelation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户分组中间表接口
 */
@Mapper
public interface SysUserGroupRelationMapper {
    /**
     * 批量删除用户分组
     * @param userIds
     */
    void deleteByUserIds(@Param("userIds") List<Long> userIds);

    /**
     * 批量给用户设置等级
     * @param sysUserGroupRelations
     */
    void BatchUserGroup(@Param("sysUserGroupRelations") List<SysUserGroupRelation> sysUserGroupRelations);
}
